package com.zzyl.nursing.vo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data

public class NursingTaskVo {
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    private Long id;
    private String nursingId;
    private int projectId;
    private String projectName;
    private Integer elderId;
    private String elderName;
    private String bedNumber;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime estimatedServerTime;
    private Integer status;
    private List<String> nursingName;
    private String cancelReason; // 取消原因
    private String createBy; // 创建者
    private String mark; // 执行记录
    private String nursingLevelName; // 护理等级名称
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime realServerTime; // 实际服务时间
    private String remark; // 备注
    private String taskImage; // 执行图片
    private String updateBy; // 更新者
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime; // 更新时间
    private String updater; // 执行人
    // 结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    // 开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
}
